package com.sofwin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 测试
 */
@Controller
public class TestController {

    @RequestMapping("/test1")
    @ResponseBody
    public String test1(){
        return "test01";
    }

    @RequestMapping("/test2")
    public String test2(){
        return "index";
    }

}
